package com.csdj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 今晚几点睡Ada
 * @since 2022-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TOrder对象", description="")
public class TOrder extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id")
    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    @ApiModelProperty(value = "用户id")
    private Integer uid;

    @ApiModelProperty(value = "收货人姓名")
    private String recvName;

    @ApiModelProperty(value = "收货人电话")
    private String recvPhone;

    @ApiModelProperty(value = "收货人所在省")
    private String recvProvince;

    @ApiModelProperty(value = "收货人所在市")
    private String recvCity;

    @ApiModelProperty(value = "收货人所在区")
    private String recvArea;

    @ApiModelProperty(value = "收货详细地址")
    private String recvAddress;

    @ApiModelProperty(value = "总价")
    private Long totalPrice;

    @ApiModelProperty(value = "状态：0-未支付，1-已支付，2-已取消，3-已关闭，4-已完成")
    private Integer status;

    @ApiModelProperty(value = "下单时间")
    private Date orderTime;

    @ApiModelProperty(value = "支付时间")
    private Date payTime;


}
